<section [formGroup]="originatorFieldsConfigForm" class="tb-form-panel no-padding no-border">
  <tb-sv-map-config
    required
    [selectOptions]="originatorFields"
    targetKeyPrefix="originator"
    formControlName="dataMapping"
    [requiredText]="'tb.rulenode.attr-mapping-required' | translate"
    [labelText]="'tb.rulenode.originator-fields-mapping' | translate"
    [selectText]="'tb.rulenode.source-field' | translate"
    [selectRequiredText]="'tb.rulenode.source-field-required' | translate"
    [valText]="'tb.rulenode.target-key' | translate"
    [valRequiredText]="'tb.rulenode.target-key-required' | translate"
    [hintText]="'tb.rulenode.originator-fields-sv-map-hint' | translate"
    popupHelpLink="rulenode/originator_fields_node_fields_templatization">
  </tb-sv-map-config>
  <tb-msg-metadata-chip [labelText]="'tb.rulenode.add-mapped-originator-fields-to' | translate"
                        formControlName="fetchTo">
  </tb-msg-metadata-chip>
  <div tb-hint-tooltip-icon="{{ 'tb.rulenode.skip-empty-fields-tooltip' | translate }}" class="tb-form-row same-padding">
    <mat-slide-toggle class="mat-slide margin" formControlName="ignoreNullStrings">
      {{ 'tb.rulenode.skip-empty-fields' | translate }}
    </mat-slide-toggle>
  </div>
</section>
